import { wechatrequest } from './API/request'
import { getGlobalData } from '../configuration/globaldata'

/**
 * 公司详情
 */
export const cpDetailRequest = ({ companyId, openId }) => {
  return wechatrequest.get('/tianyancha/info', {
    data: { companyId, openId }
  })
}

/**
 * 关键字搜索公司
 */
export const searchListRequest = ({ keyword, openId }) => {
  return wechatrequest.get('/tianyancha/list', {
    data: { keyword, openId }
  })
}
